package cn.edu.scau.cmi.luotiansheng_chapter4;

import java.util.Arrays;

public class Example4_7 {
	public static void main(String[] args) {
		char a[]= {'a','b','c','d'};
		for(int i=0;i<a.length;i++) {
			System.out.print(a[i]+" ");
		}
		System.out.println("");
		
		for(char c:a) {
			System.out.print(c+" ");
		}
		System.out.println("");
		System.out.println(Arrays.toString(a));
	}
}
